package com.guiji.text2video.fastvideo.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.guiji.text2video.common.core.annotation.Excel;
import com.guiji.text2video.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 spider_news
 * 
 * @author scl
 * @date 2021-07-20
 */
public class SpiderNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 主键 */
    @Excel(name = "主键")
    private String newsId;

    /** 标题 */
    @Excel(name = "标题")
    private String newsTitle;

    /** 文字内容，最大可存储6.5万字 */
    @Excel(name = "文字内容，最大可存储6.5万字")
    private String newsContent;

    /** 文本长度 */
    @Excel(name = "文本长度")
    private Integer contentSize;

    /** 图片链接，使用json数组存储 */
    @Excel(name = "图片链接，使用json数组存储")
    private String newsPicJson;

    /** 新闻链接 */
    @Excel(name = "新闻链接")
    private String newsUrl;

    /** 新闻来源站点 */
    @Excel(name = "新闻来源站点")
    private String newsSource;

    /** 新闻类别 */
    @Excel(name = "新闻类别")
    private String newsCategory;

    /** 新闻作者 */
    @Excel(name = "新闻作者")
    private String newsAuthors;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date newsPublicTime;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String backup1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String backup2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNewsId(String newsId) 
    {
        this.newsId = newsId;
    }

    public String getNewsId() 
    {
        return newsId;
    }
    public void setNewsTitle(String newsTitle) 
    {
        this.newsTitle = newsTitle;
    }

    public String getNewsTitle() 
    {
        return newsTitle;
    }
    public void setNewsContent(String newsContent) 
    {
        this.newsContent = newsContent;
    }

    public String getNewsContent() 
    {
        return newsContent;
    }
    public void setContentSize(Integer contentSize) 
    {
        this.contentSize = contentSize;
    }

    public Integer getContentSize() 
    {
        return contentSize;
    }
    public void setNewsPicJson(String newsPicJson) 
    {
        this.newsPicJson = newsPicJson;
    }

    public String getNewsPicJson() 
    {
        return newsPicJson;
    }
    public void setNewsUrl(String newsUrl) 
    {
        this.newsUrl = newsUrl;
    }

    public String getNewsUrl() 
    {
        return newsUrl;
    }
    public void setNewsSource(String newsSource) 
    {
        this.newsSource = newsSource;
    }

    public String getNewsSource() 
    {
        return newsSource;
    }
    public void setNewsCategory(String newsCategory) 
    {
        this.newsCategory = newsCategory;
    }

    public String getNewsCategory() 
    {
        return newsCategory;
    }
    public void setNewsAuthors(String newsAuthors) 
    {
        this.newsAuthors = newsAuthors;
    }

    public String getNewsAuthors() 
    {
        return newsAuthors;
    }
    public void setNewsPublicTime(Date newsPublicTime) 
    {
        this.newsPublicTime = newsPublicTime;
    }

    public Date getNewsPublicTime() 
    {
        return newsPublicTime;
    }
    public void setBackup1(String backup1) 
    {
        this.backup1 = backup1;
    }

    public String getBackup1() 
    {
        return backup1;
    }
    public void setBackup2(String backup2) 
    {
        this.backup2 = backup2;
    }

    public String getBackup2() 
    {
        return backup2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("newsId", getNewsId())
            .append("newsTitle", getNewsTitle())
            .append("newsContent", getNewsContent())
            .append("contentSize", getContentSize())
            .append("newsPicJson", getNewsPicJson())
            .append("newsUrl", getNewsUrl())
            .append("newsSource", getNewsSource())
            .append("newsCategory", getNewsCategory())
            .append("newsAuthors", getNewsAuthors())
            .append("newsPublicTime", getNewsPublicTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("backup1", getBackup1())
            .append("backup2", getBackup2())
            .toString();
    }
}
